|
align
|
align (
ref,
match,
matrix,
algorithm,
gapOpen,
gapExtend,
ssMatrix=defaultSsMatrix,
ssFraction=defaultSsFraction,
gapOpenHelix=defaultHGapOpen,
gapOpenStrand=defaultSGapOpen,
gapOpenOther=defaultOGapOpen,
computeSS=defaultComputeSS,
)
Exceptions
|
|
ValueError( "Unknown sequence alignment algorithm: %s" % algorithm )
ValueError( "Smith-Waterman result not" " a subsequence of original sequence" )
|
|
|
cmdMatch
|
cmdMatch (
refSel,
matchSel,
pairing=defaultPairing,
alg=defaultAlignAlgorithm,
ssFraction=defaultSsFraction,
matrix=defaultMatrix,
gapOpen=defaultGapOpen,
hgap=defaultHGapOpen,
sgap=defaultSGapOpen,
ogap=defaultOGapOpen,
iterate=defaultIterateCutoff,
gapExtend=defaultGapExtend,
showAlignment=False,
computeSS=defaultComputeSS,
matHH=defaultSsMatrix [( 'H', 'H' ) ],
matSS=defaultSsMatrix [( 'S', 'S' ) ],
matOO=defaultSsMatrix [( 'O', 'O' ) ],
matHS=defaultSsMatrix [( 'H', 'S' ) ],
matHO=defaultSsMatrix [( 'H', 'O' ) ],
matSO=defaultSsMatrix [( 'S', 'O' ) ],
)
wrapper for command-line command (friendlier args)
Exceptions
|
|
MidasError( "Specify a single reference" " chain only" )
MidasError( "Must use different reference and" " match structures" )
MidasError("No such matrix name: %s" % str( matrix ) )
MidasError, v
MidasError( "Gap open/extend penalties must be numeric" )
MidasError( "No molecules/chains to match specified" )
MidasError( "No reference chains specified" )
MidasError( "No reference model specified" )
MidasError( "Specify a single reference" " model only" )
|
|
|
match
|
match (
chainPairing,
matchItems,
matrix,
alg,
gapOpen,
gapExtend,
iterate=None,
showAlignment=False,
align=align,
**alignKw,
)
Superimpose structures based on sequence alignment
chainPairing is the method of pairing chains to match:
- CP_SPECIFIC_SPECIFIC
- Each reference chain is paired with a specified match chain
- CP_SPECIFIC_BEST
- Single reference chain is paired with best seq-aligning
chain from one or more molecules
- CP_BEST
- Best seq-aligning pair of chains from reference molecule and
match molecule(s) is used
Exceptions
|
|
UserError( "Must select at least one reference" " and match item in different models.\n" )
UserError( "Cannot have same molecule" " model provide both reference and" " match chains" )
ValueError( "Unknown sequence alignment algorithm: %s" % alg )
UserError( "Cannot match the same chain" " to multiple reference chains" )
UserError( "Must select at least one reference" " and match item.\n" )
ValueError( "No such chain-pairing method" )
LimitationError( smallMolErrMsg )
UserError( "Must select at least one reference" " chain.\n" )
|
|
|